package com.songlanyun.modules.payorder.entity;


import com.baomidou.mybatisplus.annotation.TableName;
import com.songlanyun.common.drive.RootEntity;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@TableName("yxt_sale_order_reduction_record")
public class SaleOrderReductionRecord extends RootEntity<Long, SaleOrderReductionRecord> implements Serializable {


    private Long id;

    private Long userId;

    private String payCode;

    //随机立减的金额
    private BigDecimal reductionMoney;

    //立减后的金额
    private BigDecimal totalAmountReduction;

    private Date createTime;

    @Override
    public Long getIdentity() {
        return null;
    }
}
